Skip to content

Instantly share code, notes, and snippets.

@olssonm
olssonm / macos-disable-resize
Last active May 10, 2026 19:07
Disable resizing of the macOS dock
defaults write com.apple.dock size-immutable -bool true; killall Dock

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@vmandic
vmandic / batch install vscode extensions
Created July 25, 2018 14:08
Batch install vscode extensions with PowerShell
# Script for batch installing Visual Studio Code extensions
# Specify extensions to be checked & installed by modifying $extensions
$extensions =
"DotJoshJohnson.xml",
"EditorConfig.EditorConfig",
"HookyQR.beautify",
"Leopotam.csharpfixformat",
"ecmel.vscode-html-css",
"formulahendry.auto-close-tag",
.
├── books
│   ├── handlers.go
│   └── models.go
├── config
│   └── db.go
└── main.go
@SuperFromND
SuperFromND / bpy_animate_planes_as_sequence.py
Last active May 10, 2026 18:55
Blender Python: Animate Selected Image Planes
# Script written by SuperFromND. CC0. Do whatever you want!
# Written for Blender 4.2.3 LTS, but should work in older versions just fine.
# This script takes the selected objects (assumed to be image planes stacked on top of eachother)
# and generates keyframe data such that each object will "animate" by being scaled up and down
# for a set duration in sequence. This effectively emulates an image sequence/animation.
# This script was designed mainly for stage creators and 3D modelling work for the Ikemen GO fighting game engine.
# This is because we use the glTF format, which doesn't support animated textures of any kind.
@andreibosco
andreibosco / gist:cb8506780d0942a712fc
Created October 21, 2014 17:28
Using GNU Stow to manage your dotfiles

Fonte: http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html?round=two

I accidentally stumbled upon something yesterday that I felt like sharing, which fell squarely into the "why the hell didn't I know about this before?" category. In this post, I'll describe how to manage the various configuration files in your GNU/Linux home directory (aka "dotfiles" like .bashrc) using GNU Stow.

The difficulty is that it would be helpful to manage one's configuration files with a version control system like Git, Mercurial or Bazaar, but many/most dotfiles reside at the top-level of your home directory, where it wouldn't be a good idea to initialize a VCS repository. Over time I've come across various programs which aim to manage this for you by keeping all the files in a subdirectory and then installing or linking them into their appropriate places. None of those programs ever really appealed to me. They would require a ton of dependencies (like Ruby and a ton of libraries for it) or t

Kubernetes HPC Cluster Admin Cheatsheet

For cluster administrators managing HPC workloads on Kubernetes


Cluster Info & Health

kubectl cluster-info                                      # cluster endpoint info
kubectl get componentstatuses                             # control plane health
@goodalexander
goodalexander / runpod_codex_36.md
Created April 23, 2026 00:58
how to get Qwen3.6 going on a runpod

Self-Hosted Qwen3.6-27B on RunPod + OpenAI Codex CLI

End-to-end guide for running Qwen3.6-27B as a private, self-hosted coding agent accessible from your Mac via SSH tunnel and OpenAI Codex CLI. Hardware-tested on RTX PRO 6000 Blackwell. ~$1.91/hr.

Prerequisites

  • RunPod account with credit loaded
  • SSH key on your Mac (~/.ssh/id_ed25519 and .pub)
  • Node.js 18+ on your Mac (for Codex CLI)
  • Hugging Face account + read token (avoids rate limits on downloads)